/*
Naijanimi Free SMS Application for Nokia mobiles.

"Naijanimi Free SMS Application" is protected by the copyright law
(c) 2011 Enrico Miglino / Tech Consulting (enrico.miglino@ovi.com)
Distributed under the LGPL 3.0 license.

This file is part of "Naijanimi Free SMS Application".

    "Naijanimi Free SMS Application" is free software: you can redistribute it
    and/or modify it under the terms of the Lesser GNU General Public License
    as published by the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    "Naijanimi Free SMS Application" is distributed in the hope that it
    will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    Lesser GNU General Public License for more details.

    You should have received a copy of the Lesser GNU General Public License
    along with "Naijanimi Free SMS Application".
    If not, see <http://www.gnu.org/licenses/>.
*/

import QtQuick 1.0

// The working background is the shaded rectangle used as
// common background for all the working areas of the program.
// Its extension should be defined as a parameter when it is instantiated
// by the caller.
Rectangle {
    id: workingRect

    // By default, the rectange extension is the same of the parent caller
    width: parent.width
    height: parent.height

    // Background gradient definition (green + grey)
    gradient: Gradient {
        GradientStop { position: 0; color: "#ffffff"; }
        GradientStop { position: 0.75; color: "#6f9c89"; }
        GradientStop { position: 1; color: "#4c605e" }
    }
}

